﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Draco.OWF.Exceptions;

namespace Draco.OWF.RT
{
    public interface ITask
    {
        String Id { get; set; }
        bool IsStart { get; }
        bool Excute(IJobContext context);
        void Initialize();
        IActivity Activity { get; }
        ActivityStatus Status { get; set; }
        Stack<ActivityRuntimeException> Exceptions { get; }
    }
}
